package com.cos.shop.services;

import com.cos.shop.entity.Address;

import java.util.List;

/**
 * @author: COS
 * @time: 2022/2/24 14:34
 * @description:
 */
public interface AddressServices {
    List<Address> getAddressListByUid(int uid);

    void insertAddress(Address a);

    boolean delete(int aid);

    boolean update(Address a);

    boolean setDefaultAddress(int aid, int uid);
}
